import socket


udp_client2 = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
udp_client2.bind(('192.168.10.4',10001))

while True:

    data2, addr = udp_client2.recvfrom(4096)

    print(data2)